package com.example.demo.dao;

import com.example.demo.entity.OrderInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

/**
 * Created by Hy on 2018/8/21.
 */
public interface IOrderInfoRepository extends JpaRepository<OrderInfo,String> {
    OrderInfo findByOrderId(String orderId);
    List<OrderInfo> findByAlipayNo(String alipayNo);
}
